<extend name="Public:base"/>
<block name="title"> 武汉同兴一站办企业服务有限公司 管理中心 - 添加文章 </block>

<block name="header">
    <span class="action-span"><a href="#">优惠券添加</a></span>
    <span class="action-span1"><a href="#">武汉同兴一站办企业服务有限公司 管理中心</a></span>
    <!--   <span id="search_id" class="action-span1"> - 添加分类 </span>-->
    <div style="clear:both"></div>
</block>
<block name="body">
    <form action="{:U('Order/edit')}" method="post" name="my_form" id="my_form" enctype="multipart/form-data">
        <table width="100%" id="general-table">
            <input type="hidden" value="{$rel.order_id}" name="order_id">
            <tr>
                <td class="label">订单id</td>
                <td>
                    <input type='text' name='order_id' maxlength="20" value='{$rel.order_id}' size='27' disabled/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单编号</td>
                <td>
                    <input type='text' name='order_sn' maxlength="20" value='{$rel.order_sn}' size='27' disabled/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单类型</td>
                <td>
                   <!--<select name="order_type">-->
                       <!--<option value="0" <if condition="$rel.order_type eq 0">selected</if>>商品订单</option>-->
                       <!--<option value="1" <if condition="$rel.order_type eq 0">selected</if>>积分商城订单</option>-->

                   <!--</select>-->
                    <input type="text"  value="<if condition='$rel.order_type eq 0'>商品订单 <else/>积分商城订单</if> " disabled>
                </td>
            </tr>
            <tr>
                <td class="label">商品名称</td>
                <td>
                    <input type='text' disabled name='goods_name' maxlength="20" <if condition="$rel.order_type eq 0">value='{$rel.goods_name}'
                <else/>value='{$rel.name}'
                </if> size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单原始价</td>
                <td>
                    <input type='text' name='order_price' maxlength="20" value='{$rel.order_price}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单折后实际支付支付价格</td>
                <td>
                    <input type='text' name='payment_price' maxlength="20" value='{$rel.payment_price}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
            <tr>
                <td class="label">所用的积分</td>
                <td>
                    <input type='text' name="integral" maxlength="20" value='{$rel.integral}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">积分所扣金额</td>
                <td>
                    <input type='text' name='integral_price' maxlength="20" value='{$rel.integral_price}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">享受的折扣</td>
                <td>
                    <input type='text' name='discount' maxlength="20" value='{$rel.discount}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">折扣金额</td>
                <td>
                    <input type='text' name='discount_price' maxlength="20" value='{$rel.discount_price}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">下单时间</td>
                <td>
                    <input type='text' name='order_time' maxlength="20" value='{$rel.order_time|date="Y-m-d H:s:i",###}' size='27' disabled /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单状态:</td>
                <td>

                    <input type="radio" name="order_state" value="0" <if condition="$rel.order_state eq 0">checked</if>>处理中
                    <input type="radio" name="order_state" value="1" <if condition="$rel.order_state eq 1">checked</if>>已完成
                </td>
            </tr>
            <tr>
                <td class="label">收货地址</td>
                <td>
                    <input type="hidden" value="{$rel.address_id}" name="address_id">
                    <input type='text' name='address' maxlength="20" value='{$rel.address}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">状态:</td>
                <td>

                    <input type="radio" name="state" value="0" <if condition="$rel.state eq 0">checked</if>>已删除
                    <input type="radio" name="state" value="1" <if condition="$rel.state eq 1">checked</if>>正常
                </td>
            </tr>
        </table>
        <div class="button-div">
            <input type="submit" value=" 确定 " />
        </div>
    </form>
</block>
<script type="text/javascript" src="/public/Admin/JS/jquery.min.js"></script>
<script type="text/javascript" src="/public/Admin/JS/mydate.js"></script>







